package com.xry.service;

import com.xry.bean.Role;
import com.xry.util.Page;

import java.util.List;

public interface RoleService {
    Role add(Role role);

    int del(Integer id);

    Role edit(Role role);

    List<Role> all(Role role);

    Role one(Integer id);

    void page(Page page, Role role);
}
